package cn.com.cym.gamezao.service.recruit;

import cn.com.cym.gamezao.entity.authorize.User;
import cn.com.cym.gamezao.entity.xmu.recruit.WorkExperience;
import org.springframework.lang.NonNull;

import java.util.List;

public interface WorkExperienceService {
    List<WorkExperience> searchByCurrentUser();

    List<WorkExperience> searchByCurrentUserId(@NonNull Long userId);

    int save(WorkExperience workExperience);

    int update(WorkExperience workExperience,Long id);

    void deleteById(Long id);

    List<WorkExperience> findAllByUser(User user);
}
